package com.astar.service;

import com.astar.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 * 用户和角色关联表 服务类
 * </p>
 *
 * @author jobob
 * @since 2020-01-17
 */
public interface IUserRoleService extends IService<UserRole> {




    //移除用户
    int deleteRole(UserRole userRole);

    //给角色添加用户
    int insertUserRole(UserRole userRole);
}
